import pandas as pd
import numpy as np

class datasets(object):
    def __init__(self, path):
        self.path = path

    def read(self):
        df = pd.read_csv(self.path)
        df.columns = np.arange(df.shape[1])
        self.data = np.reshape(np.asarray(df[0]), newshape=(df.shape[0], -1))
        self.target = np.reshape(np.asarray(df[2]), newshape=(df.shape[0], -1))

